﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DoanhNghiep.aspx.cs" Inherits="DoanhNghiep" Title="Untitled Page" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

        <p id="divMsgs" runat="server">
        <asp:Label ID="Label1" runat="server" EnableViewState="False" Font-Bold="True" ForeColor="#FF8080"></asp:Label>
        <asp:Label ID="Label2" runat="server" EnableViewState="False" Font-Bold="True" ForeColor="#FFFFCC"></asp:Label>
            </p>      
         <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

            <script type="text/javascript">
            function RowDblClick(sender, eventArgs)
            {
              sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
            }
              function RowSelected(sender, args)
    						    {
                                   var oWnd = radopen("thunghiem.aspx?_iddn=" +args.getDataKeyValue("Madnghiep"), "RadWindow1" ); 
                                   oWnd.maximize();
                                   oWnd.Center();
                                   oWnd.set_visibleStatusbar(false);
                                    sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
                               }
          //  function RowDblClick(sender, eventArgs)
            //{
              //sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
            //}
            </script>

        </telerik:RadCodeBlock>
          <fieldset id="divNhapLieu" style="width:500px;">
<legend style="margin-left:20px"><strong>Tìm kiếm</strong>
</legend>
<table cellpadding="2" cellspacing="1"  id="tblTimKiem">
<tr style="height: 19px;">
		<td style="width: 151px"><span style="font-size: 9pt; color: #000000;margin-left:20px;">
		    Tên DN:</span>
    </td>
        <td style="width: 369px"><span style="margin-left:40px;">
            <telerik:RadTextBox ID="txtTen" runat="server">
            </telerik:RadTextBox></span>
            
        </td>
</tr>
<tr style="height: 19px;">
		<td style="width: 146px"><span style="font-size: 9pt; color: #000000;margin-left:20px">
		    Năm hoạt động:</span>
    </td>
        <td style="width: 369px"><span style="margin-left:40px;">
          <telerik:RadTextBox ID="txtnam" runat="server">
            </telerik:RadTextBox> </span>       
    </td>
</tr>
<tr style="height: 19px;">
		<td style="width: 151px"><span style="font-size: 9pt; color: #000000;margin-left:20px;">
		    Địa chỉ:</span>
    </td>
        <td style="width: 369px"><span style="margin-left:40px;">
            <telerik:RadTextBox ID="txtDiaChi" runat="server">
            </telerik:RadTextBox></span>
        </td>
</tr>
		<tr>
            <td  colspan="2" align="center">
                <table width="100%"><tr><td style="height: 25px"><span style="margin-left:20px;">                
                    <telerik:RadButton ID="RadButton1" runat="server" Text="Tìm kiếm" Skin="Hay" OnClick="Button1_Click">
                    </telerik:RadButton></span>  
                </td>
                </tr></table>
      </td></tr>
    </table>
</fieldset>
         <!-- load ajax-->
         <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid_DN">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid_DN" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="divMsgs" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        </telerik:RadAjaxManager>
        <!-- end-->
        
             
        
             <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
        <telerik:RadGrid ID="RadGrid_DN" runat="server" AllowPaging="True" 
            AllowSorting="True" CellSpacing="0" DataSourceID="SqlDataSource_dn" 
            GridLines="None" Skin="Telerik" AllowAutomaticDeletes="True" AutoGenerateColumns="False"
            AllowAutomaticUpdates="True" OnItemUpdated="RadGrid_DN_ItemUpdated"
            OnItemDeleted="RadGrid_DN_ItemDeleted" 
           OnItemInserted="RadGrid_DN_ItemInserted" AllowAutomaticInserts="True"
            PagerStyle-Mode="NextPrevNumericAndAdvanced" PageSize="5" >
         
         
           
            <HeaderContextMenu ></HeaderContextMenu>

            <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>

            <MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource_dn" DataKeyNames="Madnghiep" CommandItemDisplay="Top" >
            <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>

            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>

    <Columns>  
    
           <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                       
           </telerik:GridEditCommandColumn>
             
         <telerik:GridBoundColumn DataField="Madnghiep" DataType="System.Int32"  Visible="false"
            FilterControlAltText="Filter Madnghiep column" HeaderText="Madnghiep" ReadOnly="True" 
            SortExpression="Madnghiep" UniqueName="Madnghiep">
        </telerik:GridBoundColumn>
        
           <telerik:GridTemplateColumn HeaderText="STT">
                       <ItemTemplate>
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%#i++ %></a>
                       </ItemTemplate>
                 </telerik:GridTemplateColumn>
         <telerik:GridNumericColumn DataField="Maql" DataType="System.Int32" HeaderText="Maql" 
            SortExpression="Maql" UniqueName="Maql" ColumnEditorID="txtMaql" Visible="false">
        </telerik:GridNumericColumn>
         <telerik:GridTemplateColumn HeaderText="Mã ql" UniqueName="maql">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("maql") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
        
         <telerik:GridBoundColumn DataField="TenDN" FilterControlAltText="Filter TenDN column" HeaderText="TenDN"  
            SortExpression="TenDN" UniqueName="TenDN" ColumnEditorID="txtDN" Visible="false">
        </telerik:GridBoundColumn>
        <telerik:GridTemplateColumn HeaderText="Ten DN" UniqueName="TenDN">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("TenDN") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         <telerik:GridBoundColumn DataField="Diachi" FilterControlAltText="Filter Diachi column" HeaderText="Diachi"  
            SortExpression="Diachi" UniqueName="Diachi" ColumnEditorID="txtdchi" Visible="false">
        </telerik:GridBoundColumn>
         <telerik:GridTemplateColumn HeaderText="Địa chỉ" UniqueName="Diachi">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("Diachi") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn> 
         <telerik:GridBoundColumn DataField="Giamdoc" FilterControlAltText="Filter Giamdoc column" HeaderText="Giamdoc"   Visible="false"
            SortExpression="Giamdoc" UniqueName="Giamdoc" ColumnEditorID="txtgdoc">
        </telerik:GridBoundColumn>
        <telerik:GridTemplateColumn HeaderText="Giám đốc" UniqueName="Giamdoc">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("Giamdoc") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         <telerik:GridDropDownColumn DataField="Mavung" DataSourceID="dn_vung" Visible="false"
                        HeaderText="Vung" ListTextField="Vung" ListValueField="Mavung"
                        UniqueName="Mavung" ColumnEditorID="Mavung" EnableEmptyListItem="true">
                    </telerik:GridDropDownColumn>
                    <telerik:GridDropDownColumn DataField="Makcn" DataSourceID="dn_kcn" 
                        HeaderText="Khu cong nghiep" ListTextField="TenKCN" ListValueField="Makcn"
                        UniqueName="Makcn" ColumnEditorID="Makcn" Visible="false" EnableEmptyListItem="true" EmptyListItemText="Không thuộc KCN">
                    </telerik:GridDropDownColumn>
        <telerik:GridBoundColumn DataField="Dthoai" FilterControlAltText="Filter Dthoai column" HeaderText="Dthoai" 
            SortExpression="Dthoai" UniqueName="Dthoai" ColumnEditorID="txtdt" Visible="false">
        </telerik:GridBoundColumn>
         <telerik:GridBoundColumn DataField="Fax" FilterControlAltText="Filter Fax column" HeaderText="Fax"  Visible="false"
            SortExpression="Fax" UniqueName="Fax" ColumnEditorID="txtFax">
        </telerik:GridBoundColumn>
         <telerik:GridBoundColumn DataField="Email" FilterControlAltText="Filter Email column" HeaderText="Email" Visible="false"
            SortExpression="Email" UniqueName="Email" ColumnEditorID="txtEmail" >
        </telerik:GridBoundColumn>
         <telerik:GridTemplateColumn HeaderText="Email" UniqueName="Email">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("Email") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         <telerik:GridBoundColumn DataField="Website" FilterControlAltText="Filter Website column" HeaderText="Website"  Visible="false"
            SortExpression="Website" UniqueName="Website" ColumnEditorID="txtweb">
        </telerik:GridBoundColumn>
         <telerik:GridBoundColumn DataField="Sotaikhoan" FilterControlAltText="Filter Sotaikhoan column" HeaderText="Sotaikhoan"  Visible="false"
            SortExpression="Sotaikhoan" UniqueName="Sotaikhoan" ColumnEditorID="txtstk">
        </telerik:GridBoundColumn>
         <telerik:GridNumericColumn DataField="ToadoX" FilterControlAltText="Filter ToadoX column" HeaderText="ToadoX"  
            SortExpression="ToadoX" UniqueName="ToadoX" ColumnEditorID="txtX" Visible="false">
        </telerik:GridNumericColumn>
         <telerik:GridNumericColumn DataField="ToadoY" FilterControlAltText="Filter ToadoY column" HeaderText="ToadoY"
            SortExpression="ToadoY" UniqueName="ToadoY" ColumnEditorID="txtY" Visible="false">
        </telerik:GridNumericColumn>
        
         <telerik:GridBoundColumn DataField="LoaihinhDN" FilterControlAltText="Filter LoaihinhDN column" HeaderText="LoaihinhDN"  
            SortExpression="LoaihinhDN" UniqueName="LoaihinhDN" ColumnEditorID="txtLHDN" Visible="false">
        </telerik:GridBoundColumn>
     
         <telerik:GridTemplateColumn HeaderText="Loại hình DN" UniqueName="LoaihinhDN">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("LoaihinhDN") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         <telerik:GridBoundColumn DataField="Nganh" FilterControlAltText="Filter Nganh column" HeaderText="Nganh" 
            SortExpression="Nganh" UniqueName="Nganh" ColumnEditorID="txtnganh" Visible="false">
        </telerik:GridBoundColumn>
          <telerik:GridTemplateColumn HeaderText="Ngành" UniqueName="Nganh">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("Nganh") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         <telerik:GridBoundColumn DataField="GPKN" FilterControlAltText="Filter GPKN column" HeaderText="GPKN"
            SortExpression="GPKN" UniqueName="GPKN" ColumnEditorID="txtGPKN" Visible="false">
        </telerik:GridBoundColumn>
         <telerik:GridDateTimeColumn DataField="NgaycapGPKN" FilterControlAltText="Filter NgaycapGPKN column" HeaderText="NgaycapGPKN"
            SortExpression="NgaycapGPKN" UniqueName="NgaycapGPKN" ColumnEditorID="NgayGPKN" Visible="false">
        </telerik:GridDateTimeColumn>
        <telerik:GridBoundColumn DataField="GPdautu" FilterControlAltText="Filter GPdautu column" HeaderText="GPdautu"  
            SortExpression="GPdautu" UniqueName="GPdautu" ColumnEditorID="GPDT" Visible="false">
        </telerik:GridBoundColumn>
        
         <telerik:GridDateTimeColumn DataField="NgaycapGPDT" FilterControlAltText="Filter NgaycapGPDT column" HeaderText="NgaycapGPDT"
            SortExpression="NgaycapGPDT" UniqueName="NgaycapGPDT" ColumnEditorID="NgayGPDT" Visible="false">
        </telerik:GridDateTimeColumn>
        <telerik:GridBoundColumn DataField="Quytrinhsx" FilterControlAltText="Filter Quytrinhsx column" HeaderText="Quytrinhsx"
            SortExpression="Quytrinhsx" UniqueName="Quytrinhsx" ColumnEditorID="txtQTsx" Visible="false">
        </telerik:GridBoundColumn>
         <telerik:GridBoundColumn DataField="Quocgia" FilterControlAltText="Filter Quocgia column" HeaderText="Quocgia"  
            SortExpression="Quocgia" UniqueName="Quocgia" ColumnEditorID="txtQG" Visible="false">
        </telerik:GridBoundColumn>
          <telerik:GridTemplateColumn HeaderText="Quốc gia" UniqueName="Quocgia">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("Quocgia") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         <telerik:GridBoundColumn DataField="Tinhhinhhd" FilterControlAltText="Filter Tinhhinhhd column" HeaderText="Tinhhinhhd"  
            SortExpression="Tinhhinhhd" UniqueName="Tinhhinhhd" ColumnEditorID="txtthhd" Visible="false">
        </telerik:GridBoundColumn>
         <telerik:GridHTMLEditorColumn DataField="Ghichu" FilterControlAltText="Filter Ghichu column" HeaderText="Ghichu"  Visible="false" 
            SortExpression="Ghichu" UniqueName="Ghichu" ColumnEditorID="txtghichu">
        </telerik:GridHTMLEditorColumn>
        <telerik:GridTemplateColumn HeaderText="Ghi chú" UniqueName="Ghichu">                
                    <ItemTemplate>                    
                        <a href="thunghiem.aspx?_iddn=<%# Eval("Madnghiep") %>"><%# Eval("Ghichu") %></a>
                    </ItemTemplate>                
        </telerik:GridTemplateColumn>
         
      
         
         <telerik:GridButtonColumn ConfirmText="Delete this Doanhnghiep?" ConfirmDialogType="RadWindow"
                        ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                        UniqueName="DeleteColumn">
                        <ItemStyle HorizontalAlign="Center"/>                      
         </telerik:GridButtonColumn>
    </Columns>    
   
            </MasterTableView>
             <ClientSettings EnableRowHoverStyle="true">
               <Selecting AllowRowSelect="True" />
               <ClientEvents OnRowDblClick="RowDblClick" />
           </ClientSettings>

<FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>
        
        <asp:SqlDataSource ID="SqlDataSource_dn" runat="server" ProviderName="System.Data.SqlClient"
          ConnectionString="<%$ ConnectionStrings:QLMTConnectionString %>"
          SelectCommand="SELECT * from [Doanhnghiep]"
           DeleteCommand="DELETE FROM [Doanhnghiep] WHERE [Madnghiep] = @original_Madnghiep"          
           InsertCommand="INSERT INTO Doanhnghiep(Maql, TenDN, Giamdoc, Diachi, Mavung, Makcn, Dthoai, Fax, Email, Website, Sotaikhoan, ToadoX, ToadoY, Namhd, LoaihinhDN, Nganh, GPKN, 
                      NgaycapGPKN, GPdautu, NgaycapGPDT, Quytrinhsx, Quocgia, Tinhhinhhd, Hinhanh, Ghichu)
                     VALUES (@Maql, @TenDN, @Giamdoc,@Diachi,@Mavung,@Makcn,@Dthoai,@Fax,@Email,@Website,@Sotaikhoan,@ToadoX,@ToadoY,@Namhd,@LoaihinhDN,@Nganh,@GPKN,
                     @NgaycapGPKN,@GPdautu,@NgaycapGPDT,@Quytrinhsx,@Quocgia,@Tinhhinhhd,@Hinhanh,@Ghichu)"
         
         UpdateCommand="UPDATE [Doanhnghiep] SET [TenDN] = @TenDN,[maql]=@Maql,[Giamdoc]=@Giamdoc,[Diachi]=@Diachi,[Mavung]=@Mavung,[Makcn]=@Makcn,[Dthoai]=@Dthoai,[Fax]=@Fax,[Email]=@Email,[Website]=@Website,[Sotaikhoan]=@Sotaikhoan,[ToadoX]=@ToadoX,[ToadoY]=@ToadoY,[Namhd]=@Namhd,[LoaihinhDN]=@LoaihinhDN,[Nganh]=@Nganh,[GPKN]=@GPKN,
                    [NgaycapGPKN]= @NgaycapGPKN,[GPdautu]=@GPdautu,[NgaycapGPDT]=@NgaycapGPDT,[Quytrinhsx]=@Quytrinhsx,[Quocgia]=@Quocgia,[Tinhhinhhd]=@Tinhhinhhd,[Hinhanh]=@Hinhanh,[Ghichu]=@Ghichu 
                    WHERE [Madnghiep] = @original_Madnghiep"
                    OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">
         
          
          <DeleteParameters>
               <asp:Parameter Name="original_Madnghiep" Type="Int32" />
           </DeleteParameters>
           
            <UpdateParameters>
               <asp:Parameter Name="TenDN" Type="String" />
               <asp:Parameter Name="Maql" Type="Int32" />
               <asp:Parameter Name="Giamdoc" Type="String" />
               <asp:Parameter Name="Diachi" Type="String" />
               <asp:Parameter Name="Mavung" Type="Int32" />
               <asp:Parameter Name="Makcn" Type="Int32" />
               <asp:Parameter Name="Dthoai" Type="String" />
               <asp:Parameter Name="Fax" Type="String" />
               <asp:Parameter Name="Email" Type="String" />
               <asp:Parameter Name="Website" Type="String" />
               <asp:Parameter Name="Sotaikhoan" Type="String" />
               <asp:Parameter Name="ToadoX" Type="Int32" />
               <asp:Parameter Name="ToadoY" Type="Int32" />
               <asp:Parameter Name="Namhd" Type="String" />
               <asp:Parameter Name="LoaihinhDN" Type="String" />
               <asp:Parameter Name="Nganh" Type="String" />
               <asp:Parameter Name="GPKN" Type="String" />
               <asp:Parameter Name="NgaycapGPKN" Type="DateTime" />
               <asp:Parameter Name="GPdautu" Type="String" />
               <asp:Parameter Name="NgaycapGPDT" Type="DateTime" />
               <asp:Parameter Name="Quytrinhsx" Type="String" />
               <asp:Parameter Name="Quocgia" Type="String" />
               <asp:Parameter Name="Tinhhinhhd" Type="String" />
               <asp:Parameter Name="Hinhanh" Type="String" />
               <asp:Parameter Name="Ghichu" Type="String" />
               
               
              
               <asp:Parameter Name="original_Madnghiep" Type="Int32" />
               
               
           </UpdateParameters>
           <InsertParameters>                
               
                <asp:Parameter Name="TenDN" Type="String" />
               <asp:Parameter Name="Maql" Type="Int32" />
               <asp:Parameter Name="Giamdoc" Type="String" />
               <asp:Parameter Name="Diachi" Type="String" />
               <asp:Parameter Name="Mavung" Type="Int32" />
               <asp:Parameter Name="Makcn" Type="Int32" />
               <asp:Parameter Name="Dthoai" Type="String" />
               <asp:Parameter Name="Fax" Type="String" />
               <asp:Parameter Name="Email" Type="String" />
               <asp:Parameter Name="Website" Type="String" />
               <asp:Parameter Name="Sotaikhoan" Type="String" />
               <asp:Parameter Name="ToadoX" Type="Int32" />
               <asp:Parameter Name="ToadoY" Type="Int32" />
               <asp:Parameter Name="Namhd" Type="String" />
               <asp:Parameter Name="LoaihinhDN" Type="String" />
               <asp:Parameter Name="Nganh" Type="String" />
               <asp:Parameter Name="GPKN" Type="String" />
               <asp:Parameter Name="NgaycapGPKN" Type="DateTime" />
               <asp:Parameter Name="GPdautu" Type="String" />
               <asp:Parameter Name="NgaycapGPDT" Type="DateTime" />
               <asp:Parameter Name="Quytrinhsx" Type="String" />
               <asp:Parameter Name="Quocgia" Type="String" />
               <asp:Parameter Name="Tinhhinhhd" Type="String" />
               <asp:Parameter Name="Hinhanh" Type="String" />
               <asp:Parameter Name="Ghichu" Type="String" />
              
           </InsertParameters>
           </asp:SqlDataSource>
        
        <asp:SqlDataSource ID="Sqldata_doangngiep" runat="server" 
            ConnectionString="<%$ ConnectionStrings:QLMTConnectionString %>" 
            SelectCommand="SELECT [Madnghiep], [TenDN], [Maql], [Giamdoc], [Diachi], [Email], [Namhd], [Nganh], [LoaihinhDN], [Quocgia], [Ghichu], [Tinhhinhhd] FROM [Doanhnghiep]"
            DeleteCommand="DELETE FROM [Doanhnghiep] WHERE [Madnghiep]=@Madnghiep">
        <DeleteParameters><asp:Parameter Name="Madnghiep" /></DeleteParameters>
        </asp:SqlDataSource>
        
         <asp:SqlDataSource ID="dn_vung" runat="server" 
                ConnectionString="<%$ ConnectionStrings:QLMTConnectionString %>" 
                SelectCommand="SELECT [Vung],[Mavung] FROM [QDxathaitheovung]"></asp:SqlDataSource>
        
        <asp:SqlDataSource ID="dn_kcn" runat="server" 
                ConnectionString="<%$ ConnectionStrings:QLMTConnectionString %>" 
                SelectCommand="SELECT [TenKCN],[Makcn] FROM [Khucongnghiep]"></asp:SqlDataSource>

       <telerik:GridTextBoxColumnEditor ID="txtMaql" runat="server" TextBoxStyle-Width="150px" />
       <telerik:GridTextBoxColumnEditor ID="txtDN" runat="server" TextBoxStyle-Width="150px" />
       <telerik:GridTextBoxColumnEditor ID="txtgdoc" runat="server" TextBoxStyle-Width="150px" />
       <telerik:GridTextBoxColumnEditor ID="txtdt" runat="server" TextBoxStyle-Width="150px" />
       <telerik:GridTextBoxColumnEditor ID="txtdchi" runat="server" TextBoxStyle-Width="150px" />
       <telerik:GridTextBoxColumnEditor ID="txtFax" runat="server" TextBoxStyle-Width="150px" />
    
       <telerik:GridTextBoxColumnEditor ID="txtEmail" runat="server" TextBoxStyle-Width="200px" />
       <telerik:GridTextBoxColumnEditor ID="txtweb" runat="server" TextBoxStyle-Width="200px" />
       <telerik:GridTextBoxColumnEditor ID="txtstk" runat="server" TextBoxStyle-Width="200px" />
       <telerik:GridTextBoxColumnEditor ID="txtLHDN" runat="server" TextBoxStyle-Width="200px" />
    
       <telerik:GridTextBoxColumnEditor ID="txtnganh" runat="server" TextBoxStyle-Width="150px" />
       <telerik:GridTextBoxColumnEditor ID="txtGPKN" runat="server" TextBoxStyle-Width="150px" />
       
       <telerik:GridTextBoxColumnEditor ID="txtQTsx" runat="server" TextBoxStyle-Width="200px" />
    
       <telerik:GridTextBoxColumnEditor ID="txtQG" runat="server" TextBoxStyle-Width="200px" />
       <telerik:GridTextBoxColumnEditor ID="txtthhd" runat="server" TextBoxStyle-Width="200px" />
       <telerik:GridDropDownListColumnEditor ID="Mavung" runat="server" DropDownStyle-Width="200px" />
       <telerik:GridDropDownListColumnEditor ID="Makcn" runat="server" DropDownStyle-Width="200px" />
       <telerik:GridNumericColumnEditor ID="txtX" runat="server" NumericTextBox-Width="40px" />
        <telerik:GridNumericColumnEditor ID="txtY" runat="server" NumericTextBox-Width="40px" />
        <telerik:GridDateTimeColumnEditor ID="NgayGPKN" runat="server" />
        <telerik:GridDateTimeColumnEditor ID="GPDT" runat="server" />
   
        <telerik:GridHTMLEditorColumnEditor ID="txtghichu" runat="server" />
     
 
</asp:Content>



